package org.shoukaiseki.aliyun.sms.config;

import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix="sks.aliyun.sms.master"
        ,ignoreUnknownFields = false
)
public class AliyunSmsConfigProperties {
    /**
     * 后端短信发送使用的站点
     * <br>
     * cn-hangzhou
     */
    private String regionId="cn-hangzhou";

    private String accessKeyId;

    private String secretAccessKey;

    private String sysDomain="dysmsapi.aliyuncs.com";

    private String sysAction="SendSms";

    private String sysVersion="2017-05-25";

    /**
     *短信签名名称。请在控制台签名管理页面签名名称一列查看。
     * 说明 必须是已添加、并通过审核的短信签名。
     */
    private String signName;

    /**
     * 短信模板ID。请在控制台模板管理页面模板CODE一列查看。
     * 说明 必须是已添加、并通过审核的短信签名；且发送国际/港澳台消息时，请使用国际/港澳台短信模版。
     */
    private String templateCode;

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getSecretAccessKey() {
        return secretAccessKey;
    }

    public void setSecretAccessKey(String secretAccessKey) {
        this.secretAccessKey = secretAccessKey;
    }

    public String getSysDomain() {
        return sysDomain;
    }

    public void setSysDomain(String sysDomain) {
        this.sysDomain = sysDomain;
    }

    public String getSysAction() {
        return sysAction;
    }

    public void setSysAction(String sysAction) {
        this.sysAction = sysAction;
    }

    public String getSysVersion() {
        return sysVersion;
    }

    public void setSysVersion(String sysVersion) {
        this.sysVersion = sysVersion;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
}
